/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 
 * 
 *
 * 
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;


namespace JDCloudSDK.Iotcore.Model
{

    /// <summary>
    ///  productTopic
    /// </summary>
    public class ProductTopic
    {

        ///<summary>
        /// 自定义topic唯一标识
        ///</summary>
        public string TopicId{ get; set; }
        ///<summary>
        /// Topic名称为必填，同一个产品下的Topic名称不能重复
        /// 只能包含字母，数字和下划线，最多64个字符，每个层级都不能为空
        /// 不能以/结尾
        /// 
        ///</summary>
        public string TopicShortName{ get; set; }
        ///<summary>
        /// 操作权限，设备对该Topic类的操作权限，取值
        /// pub:发布
        /// sub:订阅
        /// 
        ///</summary>
        public string TopicOperation{ get; set; }
        ///<summary>
        /// 描述, 0-50个字符
        ///</summary>
        public string TopicDescription{ get; set; }
        ///<summary>
        /// 创建时间，创建时间，时间为东八区（UTC/GMT+08:00）
        ///</summary>
        public long? CreatedTime{ get; set; }
        ///<summary>
        /// 修改时间，创建时间，时间为东八区（UTC/GMT+08:00）
        ///</summary>
        public long? UdpatedTime{ get; set; }
    }
}
